<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>左侧菜单</title>
<link type="text/css" rel="stylesheet" href="__PUBLIC__/css/admin/adminframe.css" />
<script type="text/javascript" src='__PUBLIC__/js/jquery.js'></script>
<script language="javascript">
function fnOnMenuClick(menu)
{
    $("#menus > ul > li").removeClass("current");
    $(menu).parent().addClass("current");
}

</script>
</head>
<body>
  <div id="sidebar">
    <div id="menus">
      <ul>
	  <?php if(is_array($menus)): $i = 0; $__LIST__ = $menus;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): ++$i;$mod = ($i % 2 )?><li <?php if(($i)  ==  "1"): ?>class="current"<?php endif; ?> >
          <a href="<?php echo ($vo["url"]); ?>" onclick="fnOnMenuClick(this);" target="mainFrame" hidefocus="true"><?php echo ($vo["caption"]); ?></a>
	    </li><?php endforeach; endif; else: echo "" ;endif; ?>
      </ul>
    </div>
    <div id="copyright">
	  <p>Powered by <a href="http://www.soophp.com" target="_blank">Soophp.com</a></p>
	  <p>&copy; 2010, <a href="http://www.soophp.com/" target="_blank">Soophp Inc.</a></p>
	</div>
  </div>
</body>
</html>